﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace FinancialManagement.Models
{
    /// <summary>
    /// 项目明细
    /// </summary>
    public class ProjectTbaleDetails
    {
        [ScaffoldColumn(false)]
        [Display(Name = "流水号")]
        public int DSID { get; set; }
        
        [Display(Name = "项目编码")]
        public string ProjectID { get; set; }

        [StringLength(150, ErrorMessage = "{0}不能超过{1}字符。")]
        [Display(Name = "本项目预算明细之一")]
        public string ProjectBudgetName { get; set; }

        [Display(Name = "项目预算金额")]
        public double ProjectBudgetMoney { get; set; }

        [Display(Name = "年度")]
        public int Annual { get; set; }

        [StringLength(200, ErrorMessage = "{0}不能超过{1}字符。")]
        [Display(Name = "测算依据")]
        public string BudgetAccding { get; set; }

        [StringLength(2000, ErrorMessage = "{0}不能超过{1}字符。")]
        [Display(Name = "说明（超过500字请上传附件）")]
        public string Illustration { get; set; }

        [StringLength(200, ErrorMessage = "{0}不能超过{1}字符。")]
        [Display(Name = "备注")]
        public string Notes { get; set; }

    }
}